public class Main {
    public static void main(String[] args) {


        Pet[] animal = {new Cat("初七", "布偶", 3, "纯白", 50, "猫条"), new Dog("初九", "拉不拉多", 5, "白黑", 50)};


        for (int i = 0; i < animal.length; i++) {
            animal[i].hungerRange();
            animal[i].feedThing();

        }
    }
}